package shared.util;

/**
 * 
 * This class represents a simple pair of values.
 *
 * @author Vincent Tsuei
 * @version 2012-11-14
 */
public final class Pair<A, B> {
    private final A a;
    private final B b;
    
    public Pair(A a, B b) {
        this.a = a;
        this.b = b;
    }
    
    public A getLeft() {
        return a;
    }
    
    public B getRight() {
        return b;
    }
}
